Skip to main content

PointerFromJObject

Type​

handler

Summary​

Convert a JObject into a Pointer

Syntax​

PointerFromJObject(<pObj>)

Description​

Use PointerFromJObject to convert a variable of type JObject to one of type Pointer, i.e. to extract the underlying jobject pointer from a JObject

Parameters​

NameTypeDescription

pObj

The JObject to convert

Examples​

handler SetNativeLayerToView(in pView as JObject)
variable tViewPtr as Pointer
put PointerFromJObject(pView) into tViewPtr
set my native layer to tViewPtr
end handler

Value​

NameTypeDescription

return

The jobject Pointer wrapped by the JObject type

Thank you for your feedback!

Was this page helpful?